package com.example.pojo;

public class Student {
    private String stu_name;
    private int stu_id;
    private int class_id;
    private int stu_no;

    public Student() {
    }

    public Student(String stu_name, int stu_id, int class_id, int stu_no) {
        this.stu_name = stu_name;
        this.stu_id = stu_id;
        this.class_id = class_id;
        this.stu_no = stu_no;
    }

    public String getStu_name() {
        return stu_name;
    }

    public int getStu_id() {
        return stu_id;
    }

    public int getClass_id() {
        return class_id;
    }

    public int getStu_no() {
        return stu_no;
    }

    public void setStu_name(String stu_name) {
        this.stu_name = stu_name;
    }

    public void setStu_id(int stu_id) {
        this.stu_id = stu_id;
    }

    public void setClass_id(int class_id) {
        this.class_id = class_id;
    }

    public void setStu_no(int stu_no) {
        this.stu_no = stu_no;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + stu_name + '\'' +
                ", studentId='" + stu_id + '\'' +
                ", class1='" + class_id + '\'' +
                ", age=" + stu_no +
                '}';
    }
}
